<?php
//基础模型
class model{
    protected $mypdo;
    public function __construct(){
        //链接数据库
        $this->initMyPDO();
        $param=array(
            'user'=>'root',
            'pwd'=>'root'

        );
        $mypdo=MyPDO::getInstance($param);
    }
    private function initMyPDO(){

    }
}

?>